Platform Explorer / Nuxeo Platform 2023.22

Contribution org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib--providers

This contribution is part of XML component org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib inside nuxeo-automation-features-2023.22.13.jar /OSGI-INF/pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

2
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <genericPageProvider class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider" name="AUDIT_BROWSER">
          <searchDocumentType>BasicAuditSearch</searchDocumentType>
          <whereClause>
            <predicate operator="&gt;" parameter="log.id">
              <field name="logId" schema="basicauditsearch"/>
            </predicate>
            <predicate operator="BETWEEN" parameter="log.eventDate">
              <field name="startDate" schema="basicauditsearch"/>
              <field name="endDate" schema="basicauditsearch"/>
            </predicate>
            <predicate operator="IN" parameter="log.category">
              <field name="eventCategories" schema="basicauditsearch"/>
            </predicate>
            <predicate operator="IN" parameter="log.eventId">
              <field name="eventIds" schema="basicauditsearch"/>
            </predicate>
            <predicate operator="IN" parameter="log.principalName">
              <field name="principalNames" schema="basicauditsearch"/>
            </predicate>
          </whereClause>
          <sort ascending="true" column="log.eventDate"/>
          <sort ascending="true" column="log.id"/>
          <pageSize>10</pageSize>
        </genericPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <genericPageProvider class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider" name="AUDIT_BROWSER">
      <searchDocumentType>BasicAuditSearch</searchDocumentType>
      <whereClause>
        <predicate operator=">" parameter="log.id">
          <field name="logId" schema="basicauditsearch"/>
        </predicate>
        <predicate operator="BETWEEN" parameter="log.eventDate">
          <field name="startDate" schema="basicauditsearch"/>
          <field name="endDate" schema="basicauditsearch"/>
        </predicate>
        <predicate operator="IN" parameter="log.category">
          <field name="eventCategories" schema="basicauditsearch"/>
        </predicate>
        <predicate operator="IN" parameter="log.eventId">
          <field name="eventIds" schema="basicauditsearch"/>
        </predicate>
        <predicate operator="IN" parameter="log.principalName">
          <field name="principalNames" schema="basicauditsearch"/>
        </predicate>
      </whereClause>
      <sort ascending="true" column="log.eventDate"/>
      <sort ascending="true" column="log.id"/>
      <pageSize>10</pageSize>
    </genericPageProvider>

  </extension>